package chuangyi.com.org.ViewModel;

import android.content.Context;
import android.databinding.Bindable;
import android.support.annotation.LayoutRes;

import chuangyi.com.org.DOMIHome.R;
import chuangyi.com.org.DOMIHome.adapter.BindingListItem;

/**
 * Created by zxh on 16/12/20.
 */

public class ReserveTime extends BindingListItem {
    private String displayTime;
    private int hour;
    private int minute;

    @Bindable
    public String getDisplayTime() {
        return displayTime;
    }

    public void setDisplayTime(String displayTime) {
        this.displayTime = displayTime;
    }

    @Bindable
    public int getHour() {
        return hour;
    }

    public void setHour(int hour) {
        this.hour = hour;
    }

    @Bindable
    public int getMinute() {
        return minute;
    }

    public void setMinute(int minute) {
        this.minute = minute;
    }

    public ReserveTime(Context context, @LayoutRes int layoutId){
        super(context, layoutId);
    }

    public ReserveTime(Context context, @LayoutRes int layoutId, int hour, int minute, String display){
        super(context, layoutId);
        this.hour = hour;
        this.minute = minute;
        this.displayTime = display;
    }
}
